/**
* @filename:Term.java
* Copyright(c) 2020 cyq9990
* All right reserved.
*/

package com.cyq.api.modules.term.controller;

import com.cyq.api.common.tool.Result;
import com.cyq.api.common.base.ApiController;

import com.cyq.api.modules.term.service.TermService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 *
 * @Description:  学期模块接口层
 * @Author:       cyq9990
 * @CreateDate:   Tue May 19 11:32:05 CST 2020
 * @Version:      V1.0
 *
 */

@Slf4j
@Api(description = "学期模块",value="学期模块" )
@RestController
@RequestMapping("/term")
public class TermController extends ApiController{

	@Autowired
	public TermService termService;

	@GetMapping("/test")
	@ApiOperation(value = "接口描述", notes = "参数描述")
	public Result<String> token(@ApiParam(value = "参数注释", required = false) @RequestParam(defaultValue = "参数默认值", required = false) String test) {
		return success(test);
	}
}
